home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 5
/
005.d81
/
t.diet program
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
85 lines
-- DIET PROGRAM --
Sent in by: Sandy Davidson
SE 2280 Old Olympic Hwy.
Shelton, WA 98584
Revised for the C-64 by Donna K. Woody
Sandy writes: '... the user types
in such variables as his present
weight, activity level, and the number
of calories he wishes to eat per day
while he's dieting. The computer will
then figure his projected weight over
a predetermined number of weeks. The
actual weight loss formula was taken
from a military fitness guide, which
states that sedentary people burn 16
calories per pound per day, moderately
active people burn 17 calories, and
active people burn 18 calories per
pound per day. I then subtracted the
calories needed to sustain weight.
The excess calories are then tallied
weekly and divided by the amount of
calories in a pound (3,500) to deter-
mine weekly weight loss (or gain).'
'To me, the most important feature
is the data subroutine. Rather than
telling the user 'You will weigh 130
in 10 weeks if you eat 1,000 calories
a day', it tells him 'You will weigh
130 on 5-26-84 if you eat 1,000
calories a day.' This has proven to
be the most useful feature of the pro-
gram. It helps motivate the dieter
and gives him a definite goal.'
'The DATA statements at the end are
left blank for the user to fill in
his/her motivating 'diet thoughts for
the day.' A few are included for demo
purposes.'
>Files used: DIET PROGRAM
--------------------------------------